package Service.ServiceImpl;

import Dao.DaoImpl.stustateDaoImpl;
import Dao.stustateDao;
import Service.stustateService;
import domain.OutApply;
import domain.stustate;

import java.util.Date;

public class stustateServiceImpl implements stustateService {
    private stustateDao dao = new stustateDaoImpl();


    @Override
    public void updateStudentState(OutApply app,String isindrom) {
        dao.updateStudentState(app,isindrom);
    }

    @Override
    public void addStudentState(stustate stut) {
        dao.addStudentState(stut);
    }

    @Override
    public void sign(String name, Date date, String flag) {
        dao.sign(name,date,flag);
    }

    @Override
    public stustate selectStutateByName(String name) {
        return dao.selectStutateByName(name);
    }


}
